package com.dhcc.springboot.test.mapper;

import com.dhcc.springboot.test.bean.User;

import java.util.List;

/**
 * @program: test
 * @description: dao层
 * @author: liu denghui
 * @create: 2019/08/13 09:41
 */
public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    /* 以下为为完成相关业务自增业务方法 */

    List<User> queryByUser(User record);

    int deleteByPrimaryKeys(String ids);
}